//
//  PRTPlayerStats.m
//  Pirates
//
//  Created by goofara on 4/5/14.
//  Copyright (c) 2014 Training Camp. All rights reserved.
//

#import "PRTPlayerStats.h"
#define kDefaultMaxSpeed 1
#define kDefaultHealth 100
#define kDefaultSideAttack 10
#define kDefaultFrontAttack 4
#define kDefaultDefence 20
#define kDefaultCargoCapacity 100
#define kDefaultSailorCount 20

@implementation PRTPlayerStats

- (id)init
{
    return [self initWithMaxSpeed:kDefaultMaxSpeed health:kDefaultHealth sideAttack:kDefaultSideAttack frontAttack:kDefaultFrontAttack];
}

-(id)initWithMaxSpeed:(float)maxSpeed health:(float)health sideAttack:(float)sideAttack frontAttack:(float)frontAttack
{
    self = [super init];
    if (self) {
        self.maximumSpeed = maxSpeed;
        self.health = health;
        self.sideCannonAttack = sideAttack;
        self.frontCannonAttack = frontAttack;
    }
    return self;
}

@end
